package org.dtrd.modules.doctor.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;


/**
 * <p>
 * 患者重点关注记录表
 * </p>
 *
 * @author xiao
 * @since 2022-06-17
 */
@Data
@TableName("dtrd_ent_rd_doctor_concern_patient")
public class DtrdEntRdDoctorConcernPatient {

    @TableId(value = "data_id", type = IdType.AUTO)
    private Integer dataId;

    @TableField("create_time")
    private Date createTime;

    /**
     * 患者ID
     */
    @TableField("patient_id")
    private Integer patientId;

    /**
     * 医生/护士ID
     */
    @TableField("doctor_id")
    private Integer doctorId;

    /**
     * 部门编码
     */
    @TableField("org_code")
    private String orgCode;

    /**
     * 医生所属团队ID
     */
    @TableField("team_id")
    private Integer teamId;

    public DtrdEntRdDoctorConcernPatient init() {
        createTime = new Date();
        return this;
    }

}
